MPBufferProxyTest{

	*testRead{
		
		var buffer, f, path;
		
/*		path = "sounds/pads/4ths bitcrush.aif";
		
		f = SoundFile.new;
		f.openRead(path);
		f.close;
	
		buffer = MPBufferProxy.read( Server.local, path, 0, f.numFrames );
		
		buffer.bufnum.postln;
	
		buffer = MPBufferProxy.read( Server.local, path, 0, f.numFrames );
		
		buffer.bufnum.postln;
*/		
		

		path = "sounds/pads/4ths bitcrush.aif";
		
		f = SoundFile.new;
		f.openRead(path);
		f.close;
	
		buffer = MPBufferProxy.read( Server.local, path, 0, f.numFrames );		
		
		buffer.bufnum.postln;
		
		SynthDef("help-PlayBuf",{ arg out=0,bufnum=0;
			Out.ar(out,
				PlayBuf.ar(1,bufnum, BufRateScale.kr(bufnum))
			)
		}).play(Server.default,[\out, 0, \bufnum, buffer.bufnum]);

		
		
		
	}	

}